/*
 * Copyright (c) 2002 Boris Pruessmann and others.
 * All rights reserved.   This program and the accompanying materials
 * are made available under the terms of the Common Public License v0.5
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/cpl-v05.html
 * 
 * Contributors:
 *    Boris Pruessmann - Initial implementation.
 */
package net.sourceforge.perforce.ui;

import java.util.List;
import java.util.Map;

/**
  * @version $Revision: 67 $
  * @author  <a href="mailto:bpruessmann@users.sourceforge.net">Boris Pruessmann</a>
  */
class PerforceDecoration
{
	// --------------------------------------------------------------------------- Private Variables
	
	/** Stores the bindings. */
	private Map bindings; 
	/** Contains the overlay images. */
	private List overlays;
	
	// ------------------------------------------------------------------------- Public Constructors
	
	/** Constructor for PerforceDecoration.
	  * 
	  * @param bindings map containing the bindings.
	  * @param overlays list of overlay images.
	  */
	public PerforceDecoration(Map bindings, List overlays)
	{
		this.bindings = bindings;
		this.overlays = overlays;
	}

	// ------------------------------------------------------------------------------ Public Methods

	/** Returns the bindings of this decoration.
	  *
	  * @return the bindings. 
	  */
	public Map getBindings()
	{
		return bindings;
	}

	/** Call this method to get the list of overlays.
	  * 
	  * @return list of overlays.
	  */
	public List getOverlays()
	{
		return overlays;
	}
	
	/** Call this method to set the list of overlays.
	  * 
	  * @param overlays the new overlays.
	  */
	public void setOverlays(List overlays)
	{
		this.overlays = overlays;
	}	
}
